package com.pureut.system.export;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import com.alibaba.fastjson.JSONObject;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @Description 废料信息实体类
 * @Param
 * @Date 22-11-28
 * @Author hl
 **/
@Data
@ContentRowHeight(20)
@HeadRowHeight(18)
public class MaterialWasteExport {

    /** 废料名称 */
    @ExcelProperty("*废料名称")
    @ColumnWidth(value = 20)
    @NotBlank(message = "废料名称不能为空")
    private String materialName;

    /** 废料规格 */
    @ExcelProperty("废料规格")
    @ColumnWidth(value = 20)
    private String materialSpec;

    /** 废料类别 */
    @ExcelProperty("*废料类别")
    @ColumnWidth(value = 20)
    @NotBlank(message = "废料类别不能为空")
    private String materialType;

    /** 单位 */
    @ExcelProperty("*单位")
    @ColumnWidth(value = 20)
    @NotBlank(message = "单位不能为空")
    private String materialUnit;

    /** 超发 */
    @ExcelProperty("超发标志")
    @ColumnWidth(value = 20)
    private String materialHair;

    /** 超收 */
    @ExcelProperty("超收标志")
    @ColumnWidth(value = 20)
    private String materialClosed;






}
